{include file="public/mobileheader"}
    <style>
        body{
            padding-bottom: 3em;
        }
        .mui-icon{
            display: inline-block;
            text-align: center;
        }
</style>

    <body>
        <div id="slider" class="mui-slider" >
            <div class="mui-slider-group mui-slider-loop">
                <!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
                <div class="mui-slider-item mui-slider-item-duplicate">
                    <a href="#">
                        <img src="/static/img/yuantiao.jpg">
                    </a>
                </div>
                <!-- 第一张 -->
                <div class="mui-slider-item">
                    <a href="#">
                        <img src="/static/img/shuijiao.jpg">
                    </a>
                </div>
                <!-- 第二张 -->
                <div class="mui-slider-item">
                    <a href="#">
                        <img src="/static/img/muwu.jpg">
                    </a>
                </div>
                <!-- 第三张 -->
                <div class="mui-slider-item">
                    <a href="#">
                        <img src="/static/img/cbd.jpg">
                    </a>
                </div>
                <!-- 第四张 -->
                <div class="mui-slider-item">
                    <a href="#">
                        <img src="/static/img/yuantiao.jpg">
                    </a>
                </div>
                <!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
                <div class="mui-slider-item mui-slider-item-duplicate">
                    <a href="#">
                        <img src="/static/img/shuijiao.jpg">
                    </a>
                </div>
            </div>
            <div class="mui-slider-indicator">
                <div class="mui-indicator mui-active"></div>
                <div class="mui-indicator"></div>
                <div class="mui-indicator"></div>
                <div class="mui-indicator"></div>
            </div>
        </div>

        <div class="mui-content">
            <ul class="mui-table-view mui-grid-view mui-grid-9">
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-home"></span>
                    <div class="mui-media-body">拿货</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-email"></span>
                    <div class="mui-media-body">销货</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-chatbubble"></span>
                    <div class="mui-media-body">查看下级</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-location"></span>
                    <div class="mui-media-body">交易记录</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="{:url('Login/logout')}">
                    <span class="mui-icon mui-icon-search"></span>
                    <div class="mui-media-body">退出</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-phone"></span>
                    <div class="mui-media-body">我的返利</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-gear"></span>
                    <div class="mui-media-body">设置</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#">
                    <span class="mui-icon mui-icon-info"></span>
                    <div class="mui-media-body">系统通知</div></a></li>
                <li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3"><a href="#bottomPopover">
                    <span class="mui-icon mui-icon-more"></span>
                    <div class="mui-media-body">更多</div></a></li>
            </ul>
        </div>

        <div id="bottomPopover" class="mui-popover mui-popover-bottom">
            <div class="mui-popover-arrow"></div>
            <div class="mui-scroll-wrapper">
                <div class="mui-scroll">
                    <ul class="mui-table-view">
                        <li class="mui-table-view-cell"><a href="#">Item1</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item2</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item3</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item4</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item5</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item6</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item7</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item8</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item9</a>
                        </li>
                        <li class="mui-table-view-cell"><a href="#">Item10</a>
                        </li>
                    </ul>
                </div>
            </div>

        </div>

        {include file="public/nav"}
    </body>

    {include file="public/mobilefooter"}
    <script>
        var slider = mui("#slider");
        slider.slider({
            interval: 5000
        });
        mui('.mui-scroll-wrapper').scroll();
    </script>

    <script>
        //底部导航栏的高亮控制
        var nav = document.getElementsByClassName('active');
        nav[0].style.color = '#007aff';
    </script>

</html>